<template>
  <div class="demo-title">button/demo4</div>
  <div class="demo">
    <Button class="btn1" type="icon" :image="img1"></Button>
    <Button class="btn2" type="icon" :image="img2">Button</Button>
    <Button class="btn3" type="info" :image="img3" :plain="true">Icon button</Button>
  </div>
</template>

<script lang="ts" setup>
  import Button from '@sscd-mobile/button'
  const img1 = 'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/pc/button/b-icon.png'
  const img2 = 'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/pc/button/c-icon.png'
  const img3 = 'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/pc/button/a-icon.png'
</script>

<style lang="less" scoped>
  .demo {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 375px;
    height: 110px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: white;
    .btn1 {
      margin-top: 10px;
      margin-left: 10px;
      width: 80rpx;
      height: 80rpx;
    }
    .btn2 {
      margin-top: 10px;
      margin-left: 10px;
      width: 140rpx;
      height: 80rpx;
    }
    .btn3 {
      margin-top: 10px;
      margin-left: 10px;
      width: 140rpx;
      height: 80rpx;
    }
  }
</style>
